11 #if !defined(__SPIR32__) && !defined(__SPIR64__) 12 #error "This header file should be used with SPIR target only." 17 #pragma OPENCL EXTENSION cl_khr_fp64 : enable 21 #define const_func __attribute__((const)) 22 #define readonly __attribute__((pure)) 52 #if defined(__SPIR32__) 54 #elif defined (__SPIR64__) 64 #if defined(__SPIR32__) 65 typedef int ptrdiff_t;
66 #elif defined (__SPIR64__ ) 67 typedef long ptrdiff_t;
131 typedef double double16
__attribute__((ext_vector_type(16)));
137 #define MAXFLOAT 0x1.fffffep127f 144 #define HUGE_VALF (__builtin_huge_valf()) 151 #define HUGE_VAL (__builtin_huge_val()) 157 #define INFINITY (__builtin_inff()) 162 #define NAN as_float(__builtin_nanf((char const *)"")) 164 #define FP_ILOGB0 INT_MIN 165 #define FP_ILOGBNAN INT_MAX 168 #define FLT_MANT_DIG 24 169 #define FLT_MAX_10_EXP +38 170 #define FLT_MAX_EXP +128 171 #define FLT_MIN_10_EXP -37 172 #define FLT_MIN_EXP -125 174 #define FLT_MAX 0x1.fffffep127f 175 #define FLT_MIN 0x1.0p-126f 176 #define FLT_EPSILON 0x1.0p-23f 179 #define DBL_MANT_DIG 53 180 #define DBL_MAX_10_EXP +308 181 #define DBL_MAX_EXP +1024 182 #define DBL_MIN_10_EXP -307 183 #define DBL_MIN_EXP -1021 185 #define DBL_MAX 0x1.fffffffffffffp1023 186 #define DBL_MIN 0x1.0p-1022 187 #define DBL_EPSILON 0x1.0p-52 190 #define M_E_F 2.71828182845904523536028747135266250f 191 #define M_LOG2E_F 1.44269504088896340735992468100189214f 192 #define M_LOG10E_F 0.434294481903251827651128918916605082f 193 #define M_LN2_F 0.693147180559945309417232121458176568f 194 #define M_LN10_F 2.30258509299404568401799145468436421f 195 #define M_PI_F 3.14159265358979323846264338327950288f 196 #define M_PI_2_F 1.57079632679489661923132169163975144f 197 #define M_PI_4_F 0.785398163397448309615660845819875721f 198 #define M_1_PI_F 0.318309886183790671537767526745028724f 199 #define M_2_PI_F 0.636619772367581343075535053490057448f 200 #define M_2_SQRTPI_F 1.12837916709551257389615890312154517f 201 #define M_SQRT2_F 1.41421356237309504880168872420969808f 202 #define M_SQRT1_2_F 0.707106781186547524400844362104849039f 204 #define M_E 0x1.5bf0a8b145769p+1 205 #define M_LOG2E 0x1.71547652b82fep+0 206 #define M_LOG10E 0x1.bcb7b1526e50ep-2 207 #define M_LN2 0x1.62e42fefa39efp-1 208 #define M_LN10 0x1.26bb1bbb55516p+1 209 #define M_PI 0x1.921fb54442d18p+1 210 #define M_PI_2 0x1.921fb54442d18p+0 211 #define M_PI_4 0x1.921fb54442d18p-1 212 #define M_1_PI 0x1.45f306dc9c883p-2 213 #define M_2_PI 0x1.45f306dc9c883p-1 214 #define M_2_SQRTPI 0x1.20dd750429b6dp+0 215 #define M_SQRT2 0x1.6a09e667f3bcdp+0 216 #define M_SQRT1_2 0x1.6a09e667f3bcdp-1 219 #define SCHAR_MAX 127 220 #define SCHAR_MIN (-128) 221 #define UCHAR_MAX 255 222 #define CHAR_MAX SCHAR_MAX 223 #define CHAR_MIN SCHAR_MIN 224 #define USHRT_MAX 65535 225 #define SHRT_MAX 32767 226 #define SHRT_MIN (-32768) 227 #define UINT_MAX 0xffffffff 228 #define INT_MAX 2147483647 229 #define INT_MIN (-2147483647-1) 230 #define ULONG_MAX 0xffffffffffffffffUL 231 #define LONG_MAX ((long)0x7fffffffffffffffL) 232 #define LONG_MIN ((long)(-0x7fffffffffffffffL-1)) 235 #define DBL_MANT_DIG 53 236 #define DBL_MAX_10_EXP +308 237 #define DBL_MAX_EXP +1024 238 #define DBL_MIN_10_EXP -307 239 #define DBL_MIN_EXP -1021 240 #define DBL_MAX 0x1.fffffffffffffp1023 241 #define DBL_MIN 0x1.0p-1022 242 #define DBL_EPSILON 0x1.0p-52 329 int printf(__constant
const char* st, ...);
1722 float16
__attribute__((overloadable)) remquo(float16
x, float16
y, __global int16 *
quo);
1728 float16
__attribute__((overloadable)) remquo(float16
x, float16
y, __local int16 *
quo);
1730 float2
__attribute__((overloadable)) remquo(float2
x, float2
y, __private int2 *
quo);
1731 float3
__attribute__((overloadable)) remquo(float3
x, float3
y, __private int3 *
quo);
1732 float4
__attribute__((overloadable)) remquo(float4
x, float4
y, __private int4 *
quo);
1733 float8
__attribute__((overloadable)) remquo(float8
x, float8
y, __private int8 *
quo);
1734 float16
__attribute__((overloadable)) remquo(float16
x, float16
y, __private int16 *
quo);
1736 double2
__attribute__((overloadable)) remquo(double2
x, double2
y, __global int2 *
quo);
1737 double3
__attribute__((overloadable)) remquo(double3
x, double3
y, __global int3 *
quo);
1738 double4
__attribute__((overloadable)) remquo(double4
x, double4
y, __global int4 *
quo);
1739 double8
__attribute__((overloadable)) remquo(double8
x, double8
y, __global int8 *
quo);
1740 double16
__attribute__((overloadable)) remquo(double16
x, double16
y, __global int16 *
quo);
1742 double2
__attribute__((overloadable)) remquo(double2
x, double2
y, __local int2 *
quo);
1743 double3
__attribute__((overloadable)) remquo(double3
x, double3
y, __local int3 *
quo);
1744 double4
__attribute__((overloadable)) remquo(double4
x, double4
y, __local int4 *
quo);
1745 double8
__attribute__((overloadable)) remquo(double8
x, double8
y, __local int8 *
quo);
1746 double16
__attribute__((overloadable)) remquo(double16
x, double16
y, __local int16 *
quo);
1748 double2
__attribute__((overloadable)) remquo(double2
x, double2
y, __private int2 *
quo);
1749 double3
__attribute__((overloadable)) remquo(double3
x, double3
y, __private int3 *
quo);
1750 double4
__attribute__((overloadable)) remquo(double4
x, double4
y, __private int4 *
quo);
1751 double8
__attribute__((overloadable)) remquo(double8
x, double8
y, __private int8 *
quo);
1752 double16
__attribute__((overloadable)) remquo(double16
x, double16
y, __private int16 *
quo);
5211 void __attribute__((overloadable)) vstore16(double16 data,
size_t offset, __private
double *
p);
5286 void __attribute__((overloadable)) vstore_half_rte(
float data,
size_t offset, __global half *
p);
5287 void __attribute__((overloadable)) vstore_half_rtz(
float data,
size_t offset, __global half *
p);
5288 void __attribute__((overloadable)) vstore_half_rtp(
float data,
size_t offset, __global half *
p);
5289 void __attribute__((overloadable)) vstore_half_rtn(
float data,
size_t offset, __global half *
p);
5291 void __attribute__((overloadable)) vstore_half_rte(
float data,
size_t offset, __local half *
p);
5292 void __attribute__((overloadable)) vstore_half_rtz(
float data,
size_t offset, __local half *
p);
5293 void __attribute__((overloadable)) vstore_half_rtp(
float data,
size_t offset, __local half *
p);
5294 void __attribute__((overloadable)) vstore_half_rtn(
float data,
size_t offset, __local half *
p);
5296 void __attribute__((overloadable)) vstore_half_rte(
float data,
size_t offset, __private half *
p);
5297 void __attribute__((overloadable)) vstore_half_rtz(
float data,
size_t offset, __private half *
p);
5298 void __attribute__((overloadable)) vstore_half_rtp(
float data,
size_t offset, __private half *
p);
5299 void __attribute__((overloadable)) vstore_half_rtn(
float data,
size_t offset, __private half *
p);
5301 void __attribute__((overloadable)) vstore_half_rte(
double data,
size_t offset, __global half *
p);
5302 void __attribute__((overloadable)) vstore_half_rtz(
double data,
size_t offset, __global half *
p);
5303 void __attribute__((overloadable)) vstore_half_rtp(
double data,
size_t offset, __global half *
p);
5304 void __attribute__((overloadable)) vstore_half_rtn(
double data,
size_t offset, __global half *
p);
5306 void __attribute__((overloadable)) vstore_half_rte(
double data,
size_t offset, __local half *
p);
5307 void __attribute__((overloadable)) vstore_half_rtz(
double data,
size_t offset, __local half *
p);
5308 void __attribute__((overloadable)) vstore_half_rtp(
double data,
size_t offset, __local half *
p);
5309 void __attribute__((overloadable)) vstore_half_rtn(
double data,
size_t offset, __local half *
p);
5311 void __attribute__((overloadable)) vstore_half_rte(
double data,
size_t offset, __private half *
p);
5312 void __attribute__((overloadable)) vstore_half_rtz(
double data,
size_t offset, __private half *
p);
5313 void __attribute__((overloadable)) vstore_half_rtp(
double data,
size_t offset, __private half *
p);
5314 void __attribute__((overloadable)) vstore_half_rtn(
double data,
size_t offset, __private half *
p);
5331 void __attribute__((overloadable)) vstore_half16(float16 data,
size_t offset, __global half *
p);
5332 void __attribute__((overloadable)) vstore_half2_rte(float2 data,
size_t offset, __global half *
p);
5333 void __attribute__((overloadable)) vstore_half3_rte(float3 data,
size_t offset, __global half *
p);
5334 void __attribute__((overloadable)) vstore_half4_rte(float4 data,
size_t offset, __global half *
p);
5335 void __attribute__((overloadable)) vstore_half8_rte(float8 data,
size_t offset, __global half *
p);
5336 void __attribute__((overloadable)) vstore_half16_rte(float16 data,
size_t offset, __global half *
p);
5337 void __attribute__((overloadable)) vstore_half2_rtz(float2 data,
size_t offset, __global half *
p);
5338 void __attribute__((overloadable)) vstore_half3_rtz(float3 data,
size_t offset, __global half *
p);
5339 void __attribute__((overloadable)) vstore_half4_rtz(float4 data,
size_t offset, __global half *
p);
5340 void __attribute__((overloadable)) vstore_half8_rtz(float8 data,
size_t offset, __global half *
p);
5341 void __attribute__((overloadable)) vstore_half16_rtz(float16 data,
size_t offset, __global half *
p);
5342 void __attribute__((overloadable)) vstore_half2_rtp(float2 data,
size_t offset, __global half *
p);
5343 void __attribute__((overloadable)) vstore_half3_rtp(float3 data,
size_t offset, __global half *
p);
5344 void __attribute__((overloadable)) vstore_half4_rtp(float4 data,
size_t offset, __global half *
p);
5345 void __attribute__((overloadable)) vstore_half8_rtp(float8 data,
size_t offset, __global half *
p);
5346 void __attribute__((overloadable)) vstore_half16_rtp(float16 data,
size_t offset, __global half *
p);
5347 void __attribute__((overloadable)) vstore_half2_rtn(float2 data,
size_t offset, __global half *
p);
5348 void __attribute__((overloadable)) vstore_half3_rtn(float3 data,
size_t offset, __global half *
p);
5349 void __attribute__((overloadable)) vstore_half4_rtn(float4 data,
size_t offset, __global half *
p);
5350 void __attribute__((overloadable)) vstore_half8_rtn(float8 data,
size_t offset, __global half *
p);
5351 void __attribute__((overloadable)) vstore_half16_rtn(float16 data,
size_t offset, __global half *
p);
5356 void __attribute__((overloadable)) vstore_half16(float16 data,
size_t offset, __local half *
p);
5357 void __attribute__((overloadable)) vstore_half2_rte(float2 data,
size_t offset, __local half *
p);
5358 void __attribute__((overloadable)) vstore_half3_rte(float3 data,
size_t offset, __local half *
p);
5359 void __attribute__((overloadable)) vstore_half4_rte(float4 data,
size_t offset, __local half *
p);
5360 void __attribute__((overloadable)) vstore_half8_rte(float8 data,
size_t offset, __local half *
p);
5361 void __attribute__((overloadable)) vstore_half16_rte(float16 data,
size_t offset, __local half *
p);
5362 void __attribute__((overloadable)) vstore_half2_rtz(float2 data,
size_t offset, __local half *
p);
5363 void __attribute__((overloadable)) vstore_half3_rtz(float3 data,
size_t offset, __local half *
p);
5364 void __attribute__((overloadable)) vstore_half4_rtz(float4 data,
size_t offset, __local half *
p);
5365 void __attribute__((overloadable)) vstore_half8_rtz(float8 data,
size_t offset, __local half *
p);
5366 void __attribute__((overloadable)) vstore_half16_rtz(float16 data,
size_t offset, __local half *
p);
5367 void __attribute__((overloadable)) vstore_half2_rtp(float2 data,
size_t offset, __local half *
p);
5368 void __attribute__((overloadable)) vstore_half3_rtp(float3 data,
size_t offset, __local half *
p);
5369 void __attribute__((overloadable)) vstore_half4_rtp(float4 data,
size_t offset, __local half *
p);
5370 void __attribute__((overloadable)) vstore_half8_rtp(float8 data,
size_t offset, __local half *
p);
5371 void __attribute__((overloadable)) vstore_half16_rtp(float16 data,
size_t offset, __local half *
p);
5372 void __attribute__((overloadable)) vstore_half2_rtn(float2 data,
size_t offset, __local half *
p);
5373 void __attribute__((overloadable)) vstore_half3_rtn(float3 data,
size_t offset, __local half *
p);
5374 void __attribute__((overloadable)) vstore_half4_rtn(float4 data,
size_t offset, __local half *
p);
5375 void __attribute__((overloadable)) vstore_half8_rtn(float8 data,
size_t offset, __local half *
p);
5376 void __attribute__((overloadable)) vstore_half16_rtn(float16 data,
size_t offset, __local half *
p);
5377 void __attribute__((overloadable)) vstore_half2(float2 data,
size_t offset, __private half *
p);
5378 void __attribute__((overloadable)) vstore_half3(float3 data,
size_t offset, __private half *
p);
5379 void __attribute__((overloadable)) vstore_half4(float4 data,
size_t offset, __private half *
p);
5380 void __attribute__((overloadable)) vstore_half8(float8 data,
size_t offset, __private half *
p);
5381 void __attribute__((overloadable)) vstore_half16(float16 data,
size_t offset, __private half *
p);
5382 void __attribute__((overloadable)) vstore_half2_rte(float2 data,
size_t offset, __private half *
p);
5383 void __attribute__((overloadable)) vstore_half3_rte(float3 data,
size_t offset, __private half *
p);
5384 void __attribute__((overloadable)) vstore_half4_rte(float4 data,
size_t offset, __private half *
p);
5385 void __attribute__((overloadable)) vstore_half8_rte(float8 data,
size_t offset, __private half *
p);
5386 void __attribute__((overloadable)) vstore_half16_rte(float16 data,
size_t offset, __private half *
p);
5387 void __attribute__((overloadable)) vstore_half2_rtz(float2 data,
size_t offset, __private half *
p);
5388 void __attribute__((overloadable)) vstore_half3_rtz(float3 data,
size_t offset, __private half *
p);
5389 void __attribute__((overloadable)) vstore_half4_rtz(float4 data,
size_t offset, __private half *
p);
5390 void __attribute__((overloadable)) vstore_half8_rtz(float8 data,
size_t offset, __private half *
p);
5391 void __attribute__((overloadable)) vstore_half16_rtz(float16 data,
size_t offset, __private half *
p);
5392 void __attribute__((overloadable)) vstore_half2_rtp(float2 data,
size_t offset, __private half *
p);
5393 void __attribute__((overloadable)) vstore_half3_rtp(float3 data,
size_t offset, __private half *
p);
5394 void __attribute__((overloadable)) vstore_half4_rtp(float4 data,
size_t offset, __private half *
p);
5395 void __attribute__((overloadable)) vstore_half8_rtp(float8 data,
size_t offset, __private half *
p);
5396 void __attribute__((overloadable)) vstore_half16_rtp(float16 data,
size_t offset, __private half *
p);
5397 void __attribute__((overloadable)) vstore_half2_rtn(float2 data,
size_t offset, __private half *
p);
5398 void __attribute__((overloadable)) vstore_half3_rtn(float3 data,
size_t offset, __private half *
p);
5399 void __attribute__((overloadable)) vstore_half4_rtn(float4 data,
size_t offset, __private half *
p);
5400 void __attribute__((overloadable)) vstore_half8_rtn(float8 data,
size_t offset, __private half *
p);
5401 void __attribute__((overloadable)) vstore_half16_rtn(float16 data,
size_t offset, __private half *
p);
5402 void __attribute__((overloadable)) vstore_half2(double2 data,
size_t offset, __global half *
p);
5403 void __attribute__((overloadable)) vstore_half3(double3 data,
size_t offset, __global half *
p);
5404 void __attribute__((overloadable)) vstore_half4(double4 data,
size_t offset, __global half *
p);
5405 void __attribute__((overloadable)) vstore_half8(double8 data,
size_t offset, __global half *
p);
5406 void __attribute__((overloadable)) vstore_half16(double16 data,
size_t offset, __global half *
p);
5407 void __attribute__((overloadable)) vstore_half2_rte(double2 data,
size_t offset, __global half *
p);
5408 void __attribute__((overloadable)) vstore_half3_rte(double3 data,
size_t offset, __global half *
p);
5409 void __attribute__((overloadable)) vstore_half4_rte(double4 data,
size_t offset, __global half *
p);
5410 void __attribute__((overloadable)) vstore_half8_rte(double8 data,
size_t offset, __global half *
p);
5411 void __attribute__((overloadable)) vstore_half16_rte(double16 data,
size_t offset, __global half *
p);
5412 void __attribute__((overloadable)) vstore_half2_rtz(double2 data,
size_t offset, __global half *
p);
5413 void __attribute__((overloadable)) vstore_half3_rtz(double3 data,
size_t offset, __global half *
p);
5414 void __attribute__((overloadable)) vstore_half4_rtz(double4 data,
size_t offset, __global half *
p);
5415 void __attribute__((overloadable)) vstore_half8_rtz(double8 data,
size_t offset, __global half *
p);
5416 void __attribute__((overloadable)) vstore_half16_rtz(double16 data,
size_t offset, __global half *
p);
5417 void __attribute__((overloadable)) vstore_half2_rtp(double2 data,
size_t offset, __global half *
p);
5418 void __attribute__((overloadable)) vstore_half3_rtp(double3 data,
size_t offset, __global half *
p);
5419 void __attribute__((overloadable)) vstore_half4_rtp(double4 data,
size_t offset, __global half *
p);
5420 void __attribute__((overloadable)) vstore_half8_rtp(double8 data,
size_t offset, __global half *
p);
5421 void __attribute__((overloadable)) vstore_half16_rtp(double16 data,
size_t offset, __global half *
p);
5422 void __attribute__((overloadable)) vstore_half2_rtn(double2 data,
size_t offset, __global half *
p);
5423 void __attribute__((overloadable)) vstore_half3_rtn(double3 data,
size_t offset, __global half *
p);
5424 void __attribute__((overloadable)) vstore_half4_rtn(double4 data,
size_t offset, __global half *
p);
5425 void __attribute__((overloadable)) vstore_half8_rtn(double8 data,
size_t offset, __global half *
p);
5426 void __attribute__((overloadable)) vstore_half16_rtn(double16 data,
size_t offset, __global half *
p);
5431 void __attribute__((overloadable)) vstore_half16(double16 data,
size_t offset, __local half *
p);
5432 void __attribute__((overloadable)) vstore_half2_rte(double2 data,
size_t offset, __local half *
p);
5433 void __attribute__((overloadable)) vstore_half3_rte(double3 data,
size_t offset, __local half *
p);
5434 void __attribute__((overloadable)) vstore_half4_rte(double4 data,
size_t offset, __local half *
p);
5435 void __attribute__((overloadable)) vstore_half8_rte(double8 data,
size_t offset, __local half *
p);
5436 void __attribute__((overloadable)) vstore_half16_rte(double16 data,
size_t offset, __local half *
p);
5437 void __attribute__((overloadable)) vstore_half2_rtz(double2 data,
size_t offset, __local half *
p);
5438 void __attribute__((overloadable)) vstore_half3_rtz(double3 data,
size_t offset, __local half *
p);
5439 void __attribute__((overloadable)) vstore_half4_rtz(double4 data,
size_t offset, __local half *
p);
5440 void __attribute__((overloadable)) vstore_half8_rtz(double8 data,
size_t offset, __local half *
p);
5441 void __attribute__((overloadable)) vstore_half16_rtz(double16 data,
size_t offset, __local half *
p);
5442 void __attribute__((overloadable)) vstore_half2_rtp(double2 data,
size_t offset, __local half *
p);
5443 void __attribute__((overloadable)) vstore_half3_rtp(double3 data,
size_t offset, __local half *
p);
5444 void __attribute__((overloadable)) vstore_half4_rtp(double4 data,
size_t offset, __local half *
p);
5445 void __attribute__((overloadable)) vstore_half8_rtp(double8 data,
size_t offset, __local half *
p);
5446 void __attribute__((overloadable)) vstore_half16_rtp(double16 data,
size_t offset, __local half *
p);
5447 void __attribute__((overloadable)) vstore_half2_rtn(double2 data,
size_t offset, __local half *
p);
5448 void __attribute__((overloadable)) vstore_half3_rtn(double3 data,
size_t offset, __local half *
p);
5449 void __attribute__((overloadable)) vstore_half4_rtn(double4 data,
size_t offset, __local half *
p);
5450 void __attribute__((overloadable)) vstore_half8_rtn(double8 data,
size_t offset, __local half *
p);
5451 void __attribute__((overloadable)) vstore_half16_rtn(double16 data,
size_t offset, __local half *
p);
5452 void __attribute__((overloadable)) vstore_half2(double2 data,
size_t offset, __private half *
p);
5453 void __attribute__((overloadable)) vstore_half3(double3 data,
size_t offset, __private half *
p);
5454 void __attribute__((overloadable)) vstore_half4(double4 data,
size_t offset, __private half *
p);
5455 void __attribute__((overloadable)) vstore_half8(double8 data,
size_t offset, __private half *
p);
5456 void __attribute__((overloadable)) vstore_half16(double16 data,
size_t offset, __private half *
p);
5457 void __attribute__((overloadable)) vstore_half2_rte(double2 data,
size_t offset, __private half *
p);
5458 void __attribute__((overloadable)) vstore_half3_rte(double3 data,
size_t offset, __private half *
p);
5459 void __attribute__((overloadable)) vstore_half4_rte(double4 data,
size_t offset, __private half *
p);
5460 void __attribute__((overloadable)) vstore_half8_rte(double8 data,
size_t offset, __private half *
p);
5461 void __attribute__((overloadable)) vstore_half16_rte(double16 data,
size_t offset, __private half *
p);
5462 void __attribute__((overloadable)) vstore_half2_rtz(double2 data,
size_t offset, __private half *
p);
5463 void __attribute__((overloadable)) vstore_half3_rtz(double3 data,
size_t offset, __private half *
p);
5464 void __attribute__((overloadable)) vstore_half4_rtz(double4 data,
size_t offset, __private half *
p);
5465 void __attribute__((overloadable)) vstore_half8_rtz(double8 data,
size_t offset, __private half *
p);
5466 void __attribute__((overloadable)) vstore_half16_rtz(double16 data,
size_t offset, __private half *
p);
5467 void __attribute__((overloadable)) vstore_half2_rtp(double2 data,
size_t offset, __private half *
p);
5468 void __attribute__((overloadable)) vstore_half3_rtp(double3 data,
size_t offset, __private half *
p);
5469 void __attribute__((overloadable)) vstore_half4_rtp(double4 data,
size_t offset, __private half *
p);
5470 void __attribute__((overloadable)) vstore_half8_rtp(double8 data,
size_t offset, __private half *
p);
5471 void __attribute__((overloadable)) vstore_half16_rtp(double16 data,
size_t offset, __private half *
p);
5472 void __attribute__((overloadable)) vstore_half2_rtn(double2 data,
size_t offset, __private half *
p);
5473 void __attribute__((overloadable)) vstore_half3_rtn(double3 data,
size_t offset, __private half *
p);
5474 void __attribute__((overloadable)) vstore_half4_rtn(double4 data,
size_t offset, __private half *
p);
5475 void __attribute__((overloadable)) vstore_half8_rtn(double8 data,
size_t offset, __private half *
p);
5476 void __attribute__((overloadable)) vstore_half16_rtn(double16 data,
size_t offset, __private half *
p);
5533 void __attribute__((overloadable)) vstorea_half2(float2 data,
size_t offset, __global half *
p);
5534 void __attribute__((overloadable)) vstorea_half3(float3 data,
size_t offset, __global half *
p);
5535 void __attribute__((overloadable)) vstorea_half4(float4 data,
size_t offset, __global half *
p);
5536 void __attribute__((overloadable)) vstorea_half8(float8 data,
size_t offset, __global half *
p);
5537 void __attribute__((overloadable)) vstorea_half16(float16 data,
size_t offset, __global half *
p);
5539 void __attribute__((overloadable)) vstorea_half_rte(
float data,
size_t offset, __global half *
p);
5540 void __attribute__((overloadable)) vstorea_half2_rte(float2 data,
size_t offset, __global half *
p);
5541 void __attribute__((overloadable)) vstorea_half3_rte(float3 data,
size_t offset, __global half *
p);
5542 void __attribute__((overloadable)) vstorea_half4_rte(float4 data,
size_t offset, __global half *
p);
5543 void __attribute__((overloadable)) vstorea_half8_rte(float8 data,
size_t offset, __global half *
p);
5544 void __attribute__((overloadable)) vstorea_half16_rte(float16 data,
size_t offset, __global half *
p);
5546 void __attribute__((overloadable)) vstorea_half_rtz(
float data,
size_t offset, __global half *
p);
5547 void __attribute__((overloadable)) vstorea_half2_rtz(float2 data,
size_t offset, __global half *
p);
5548 void __attribute__((overloadable)) vstorea_half3_rtz(float3 data,
size_t offset, __global half *
p);
5549 void __attribute__((overloadable)) vstorea_half4_rtz(float4 data,
size_t offset, __global half *
p);
5550 void __attribute__((overloadable)) vstorea_half8_rtz(float8 data,
size_t offset, __global half *
p);
5551 void __attribute__((overloadable)) vstorea_half16_rtz(float16 data,
size_t offset, __global half *
p);
5553 void __attribute__((overloadable)) vstorea_half_rtp(
float data,
size_t offset, __global half *
p);
5554 void __attribute__((overloadable)) vstorea_half2_rtp(float2 data,
size_t offset, __global half *
p);
5555 void __attribute__((overloadable)) vstorea_half3_rtp(float3 data,
size_t offset, __global half *
p);
5556 void __attribute__((overloadable)) vstorea_half4_rtp(float4 data,
size_t offset, __global half *
p);
5557 void __attribute__((overloadable)) vstorea_half8_rtp(float8 data,
size_t offset, __global half *
p);
5558 void __attribute__((overloadable)) vstorea_half16_rtp(float16 data,
size_t offset, __global half *
p);
5560 void __attribute__((overloadable)) vstorea_half_rtn(
float data,
size_t offset, __global half *
p);
5561 void __attribute__((overloadable)) vstorea_half2_rtn(float2 data,
size_t offset, __global half *
p);
5562 void __attribute__((overloadable)) vstorea_half3_rtn(float3 data,
size_t offset, __global half *
p);
5563 void __attribute__((overloadable)) vstorea_half4_rtn(float4 data,
size_t offset, __global half *
p);
5564 void __attribute__((overloadable)) vstorea_half8_rtn(float8 data,
size_t offset, __global half *
p);
5565 void __attribute__((overloadable)) vstorea_half16_rtn(float16 data,
size_t offset, __global half *
p);
5572 void __attribute__((overloadable)) vstorea_half16(float16 data,
size_t offset, __local half *
p);
5574 void __attribute__((overloadable)) vstorea_half_rte(
float data,
size_t offset, __local half *
p);
5575 void __attribute__((overloadable)) vstorea_half2_rte(float2 data,
size_t offset, __local half *
p);
5576 void __attribute__((overloadable)) vstorea_half3_rte(float3 data,
size_t offset, __local half *
p);
5577 void __attribute__((overloadable)) vstorea_half4_rte(float4 data,
size_t offset, __local half *
p);
5578 void __attribute__((overloadable)) vstorea_half8_rte(float8 data,
size_t offset, __local half *
p);
5579 void __attribute__((overloadable)) vstorea_half16_rte(float16 data,
size_t offset, __local half *
p);
5581 void __attribute__((overloadable)) vstorea_half_rtz(
float data,
size_t offset, __local half *
p);
5582 void __attribute__((overloadable)) vstorea_half2_rtz(float2 data,
size_t offset, __local half *
p);
5583 void __attribute__((overloadable)) vstorea_half3_rtz(float3 data,
size_t offset, __local half *
p);
5584 void __attribute__((overloadable)) vstorea_half4_rtz(float4 data,
size_t offset, __local half *
p);
5585 void __attribute__((overloadable)) vstorea_half8_rtz(float8 data,
size_t offset, __local half *
p);
5586 void __attribute__((overloadable)) vstorea_half16_rtz(float16 data,
size_t offset, __local half *
p);
5588 void __attribute__((overloadable)) vstorea_half_rtp(
float data,
size_t offset, __local half *
p);
5589 void __attribute__((overloadable)) vstorea_half2_rtp(float2 data,
size_t offset, __local half *
p);
5590 void __attribute__((overloadable)) vstorea_half3_rtp(float3 data,
size_t offset, __local half *
p);
5591 void __attribute__((overloadable)) vstorea_half4_rtp(float4 data,
size_t offset, __local half *
p);
5592 void __attribute__((overloadable)) vstorea_half8_rtp(float8 data,
size_t offset, __local half *
p);
5593 void __attribute__((overloadable)) vstorea_half16_rtp(float16 data,
size_t offset, __local half *
p);
5595 void __attribute__((overloadable)) vstorea_half_rtn(
float data,
size_t offset, __local half *
p);
5596 void __attribute__((overloadable)) vstorea_half2_rtn(float2 data,
size_t offset, __local half *
p);
5597 void __attribute__((overloadable)) vstorea_half3_rtn(float3 data,
size_t offset, __local half *
p);
5598 void __attribute__((overloadable)) vstorea_half4_rtn(float4 data,
size_t offset, __local half *
p);
5599 void __attribute__((overloadable)) vstorea_half8_rtn(float8 data,
size_t offset, __local half *
p);
5600 void __attribute__((overloadable)) vstorea_half16_rtn(float16 data,
size_t offset, __local half *
p);
5603 void __attribute__((overloadable)) vstorea_half2(float2 data,
size_t offset, __private half *
p);
5604 void __attribute__((overloadable)) vstorea_half3(float3 data,
size_t offset, __private half *
p);
5605 void __attribute__((overloadable)) vstorea_half4(float4 data,
size_t offset, __private half *
p);
5606 void __attribute__((overloadable)) vstorea_half8(float8 data,
size_t offset, __private half *
p);
5607 void __attribute__((overloadable)) vstorea_half16(float16 data,
size_t offset, __private half *
p);
5609 void __attribute__((overloadable)) vstorea_half_rte(
float data,
size_t offset, __private half *
p);
5610 void __attribute__((overloadable)) vstorea_half2_rte(float2 data,
size_t offset, __private half *
p);
5611 void __attribute__((overloadable)) vstorea_half3_rte(float3 data,
size_t offset, __private half *
p);
5612 void __attribute__((overloadable)) vstorea_half4_rte(float4 data,
size_t offset, __private half *
p);
5613 void __attribute__((overloadable)) vstorea_half8_rte(float8 data,
size_t offset, __private half *
p);
5614 void __attribute__((overloadable)) vstorea_half16_rte(float16 data,
size_t offset, __private half *
p);
5616 void __attribute__((overloadable)) vstorea_half_rtz(
float data,
size_t offset, __private half *
p);
5617 void __attribute__((overloadable)) vstorea_half2_rtz(float2 data,
size_t offset, __private half *
p);
5618 void __attribute__((overloadable)) vstorea_half3_rtz(float3 data,
size_t offset, __private half *
p);
5619 void __attribute__((overloadable)) vstorea_half4_rtz(float4 data,
size_t offset, __private half *
p);
5620 void __attribute__((overloadable)) vstorea_half8_rtz(float8 data,
size_t offset, __private half *
p);
5621 void __attribute__((overloadable)) vstorea_half16_rtz(float16 data,
size_t offset, __private half *
p);
5623 void __attribute__((overloadable)) vstorea_half_rtp(
float data,
size_t offset, __private half *
p);
5624 void __attribute__((overloadable)) vstorea_half2_rtp(float2 data,
size_t offset, __private half *
p);
5625 void __attribute__((overloadable)) vstorea_half3_rtp(float3 data,
size_t offset, __private half *
p);
5626 void __attribute__((overloadable)) vstorea_half4_rtp(float4 data,
size_t offset, __private half *
p);
5627 void __attribute__((overloadable)) vstorea_half8_rtp(float8 data,
size_t offset, __private half *
p);
5628 void __attribute__((overloadable)) vstorea_half16_rtp(float16 data,
size_t offset, __private half *
p);
5630 void __attribute__((overloadable)) vstorea_half_rtn(
float data,
size_t offset, __private half *
p);
5631 void __attribute__((overloadable)) vstorea_half2_rtn(float2 data,
size_t offset, __private half *
p);
5632 void __attribute__((overloadable)) vstorea_half3_rtn(float3 data,
size_t offset, __private half *
p);
5633 void __attribute__((overloadable)) vstorea_half4_rtn(float4 data,
size_t offset, __private half *
p);
5634 void __attribute__((overloadable)) vstorea_half8_rtn(float8 data,
size_t offset, __private half *
p);
5635 void __attribute__((overloadable)) vstorea_half16_rtn(float16 data,
size_t offset, __private half *
p);
5638 void __attribute__((overloadable)) vstorea_half2(double2 data,
size_t offset, __global half *
p);
5639 void __attribute__((overloadable)) vstorea_half3(double3 data,
size_t offset, __global half *
p);
5640 void __attribute__((overloadable)) vstorea_half4(double4 data,
size_t offset, __global half *
p);
5641 void __attribute__((overloadable)) vstorea_half8(double8 data,
size_t offset, __global half *
p);
5642 void __attribute__((overloadable)) vstorea_half16(double16 data,
size_t offset, __global half *
p);
5644 void __attribute__((overloadable)) vstorea_half_rte(
double data,
size_t offset, __global half *
p);
5645 void __attribute__((overloadable)) vstorea_half2_rte(double2 data,
size_t offset, __global half *
p);
5646 void __attribute__((overloadable)) vstorea_half3_rte(double3 data,
size_t offset, __global half *
p);
5647 void __attribute__((overloadable)) vstorea_half4_rte(double4 data,
size_t offset, __global half *
p);
5648 void __attribute__((overloadable)) vstorea_half8_rte(double8 data,
size_t offset, __global half *
p);
5649 void __attribute__((overloadable)) vstorea_half16_rte(double16 data,
size_t offset, __global half *
p);
5651 void __attribute__((overloadable)) vstorea_half_rtz(
double data,
size_t offset, __global half *
p);
5652 void __attribute__((overloadable)) vstorea_half2_rtz(double2 data,
size_t offset, __global half *
p);
5653 void __attribute__((overloadable)) vstorea_half3_rtz(double3 data,
size_t offset, __global half *
p);
5654 void __attribute__((overloadable)) vstorea_half4_rtz(double4 data,
size_t offset, __global half *
p);
5655 void __attribute__((overloadable)) vstorea_half8_rtz(double8 data,
size_t offset, __global half *
p);
5656 void __attribute__((overloadable)) vstorea_half16_rtz(double16 data,
size_t offset, __global half *
p);
5658 void __attribute__((overloadable)) vstorea_half_rtp(
double data,
size_t offset, __global half *
p);
5659 void __attribute__((overloadable)) vstorea_half2_rtp(double2 data,
size_t offset, __global half *
p);
5660 void __attribute__((overloadable)) vstorea_half3_rtp(double3 data,
size_t offset, __global half *
p);
5661 void __attribute__((overloadable)) vstorea_half4_rtp(double4 data,
size_t offset, __global half *
p);
5662 void __attribute__((overloadable)) vstorea_half8_rtp(double8 data,
size_t offset, __global half *
p);
5663 void __attribute__((overloadable)) vstorea_half16_rtp(double16 data,
size_t offset, __global half *
p);
5665 void __attribute__((overloadable)) vstorea_half_rtn(
double data,
size_t offset, __global half *
p);
5666 void __attribute__((overloadable)) vstorea_half2_rtn(double2 data,
size_t offset, __global half *
p);
5667 void __attribute__((overloadable)) vstorea_half3_rtn(double3 data,
size_t offset, __global half *
p);
5668 void __attribute__((overloadable)) vstorea_half4_rtn(double4 data,
size_t offset, __global half *
p);
5669 void __attribute__((overloadable)) vstorea_half8_rtn(double8 data,
size_t offset, __global half *
p);
5670 void __attribute__((overloadable)) vstorea_half16_rtn(double16 data,
size_t offset, __global half *
p);
5673 void __attribute__((overloadable)) vstorea_half2(double2 data,
size_t offset, __local half *
p);
5674 void __attribute__((overloadable)) vstorea_half3(double3 data,
size_t offset, __local half *
p);
5675 void __attribute__((overloadable)) vstorea_half4(double4 data,
size_t offset, __local half *
p);
5676 void __attribute__((overloadable)) vstorea_half8(double8 data,
size_t offset, __local half *
p);
5677 void __attribute__((overloadable)) vstorea_half16(double16 data,
size_t offset, __local half *
p);
5679 void __attribute__((overloadable)) vstorea_half_rte(
double data,
size_t offset, __local half *
p);
5680 void __attribute__((overloadable)) vstorea_half2_rte(double2 data,
size_t offset, __local half *
p);
5681 void __attribute__((overloadable)) vstorea_half3_rte(double3 data,
size_t offset, __local half *
p);
5682 void __attribute__((overloadable)) vstorea_half4_rte(double4 data,
size_t offset, __local half *
p);
5683 void __attribute__((overloadable)) vstorea_half8_rte(double8 data,
size_t offset, __local half *
p);
5684 void __attribute__((overloadable)) vstorea_half16_rte(double16 data,
size_t offset, __local half *
p);
5686 void __attribute__((overloadable)) vstorea_half_rtz(
double data,
size_t offset, __local half *
p);
5687 void __attribute__((overloadable)) vstorea_half2_rtz(double2 data,
size_t offset, __local half *
p);
5688 void __attribute__((overloadable)) vstorea_half3_rtz(double3 data,
size_t offset, __local half *
p);
5689 void __attribute__((overloadable)) vstorea_half4_rtz(double4 data,
size_t offset, __local half *
p);
5690 void __attribute__((overloadable)) vstorea_half8_rtz(double8 data,
size_t offset, __local half *
p);
5691 void __attribute__((overloadable)) vstorea_half16_rtz(double16 data,
size_t offset, __local half *
p);
5693 void __attribute__((overloadable)) vstorea_half_rtp(
double data,
size_t offset, __local half *
p);
5694 void __attribute__((overloadable)) vstorea_half2_rtp(double2 data,
size_t offset, __local half *
p);
5695 void __attribute__((overloadable)) vstorea_half3_rtp(double3 data,
size_t offset, __local half *
p);
5696 void __attribute__((overloadable)) vstorea_half4_rtp(double4 data,
size_t offset, __local half *
p);
5697 void __attribute__((overloadable)) vstorea_half8_rtp(double8 data,
size_t offset, __local half *
p);
5698 void __attribute__((overloadable)) vstorea_half16_rtp(double16 data,
size_t offset, __local half *
p);
5700 void __attribute__((overloadable)) vstorea_half_rtn(
double data,
size_t offset, __local half *
p);
5701 void __attribute__((overloadable)) vstorea_half2_rtn(double2 data,
size_t offset, __local half *
p);
5702 void __attribute__((overloadable)) vstorea_half3_rtn(double3 data,
size_t offset, __local half *
p);
5703 void __attribute__((overloadable)) vstorea_half4_rtn(double4 data,
size_t offset, __local half *
p);
5704 void __attribute__((overloadable)) vstorea_half8_rtn(double8 data,
size_t offset, __local half *
p);
5705 void __attribute__((overloadable)) vstorea_half16_rtn(double16 data,
size_t offset, __local half *
p);
5707 void __attribute__((overloadable)) vstorea_half(
double data,
size_t offset, __private half *
p);
5708 void __attribute__((overloadable)) vstorea_half2(double2 data,
size_t offset, __private half *
p);
5709 void __attribute__((overloadable)) vstorea_half3(double3 data,
size_t offset, __private half *
p);
5710 void __attribute__((overloadable)) vstorea_half4(double4 data,
size_t offset, __private half *
p);
5711 void __attribute__((overloadable)) vstorea_half8(double8 data,
size_t offset, __private half *
p);
5712 void __attribute__((overloadable)) vstorea_half16(double16 data,
size_t offset, __private half *
p);
5714 void __attribute__((overloadable)) vstorea_half_rte(
double data,
size_t offset, __private half *
p);
5715 void __attribute__((overloadable)) vstorea_half2_rte(double2 data,
size_t offset, __private half *
p);
5716 void __attribute__((overloadable)) vstorea_half3_rte(double3 data,
size_t offset, __private half *
p);
5717 void __attribute__((overloadable)) vstorea_half4_rte(double4 data,
size_t offset, __private half *
p);
5718 void __attribute__((overloadable)) vstorea_half8_rte(double8 data,
size_t offset, __private half *
p);
5719 void __attribute__((overloadable)) vstorea_half16_rte(double16 data,
size_t offset, __private half *
p);
5721 void __attribute__((overloadable)) vstorea_half_rtz(
double data,
size_t offset, __private half *
p);
5722 void __attribute__((overloadable)) vstorea_half2_rtz(double2 data,
size_t offset, __private half *
p);
5723 void __attribute__((overloadable)) vstorea_half3_rtz(double3 data,
size_t offset, __private half *
p);
5724 void __attribute__((overloadable)) vstorea_half4_rtz(double4 data,
size_t offset, __private half *
p);
5725 void __attribute__((overloadable)) vstorea_half8_rtz(double8 data,
size_t offset, __private half *
p);
5726 void __attribute__((overloadable)) vstorea_half16_rtz(double16 data,
size_t offset, __private half *
p);
5728 void __attribute__((overloadable)) vstorea_half_rtp(
double data,
size_t offset, __private half *
p);
5729 void __attribute__((overloadable)) vstorea_half2_rtp(double2 data,
size_t offset, __private half *
p);
5730 void __attribute__((overloadable)) vstorea_half3_rtp(double3 data,
size_t offset, __private half *
p);
5731 void __attribute__((overloadable)) vstorea_half4_rtp(double4 data,
size_t offset, __private half *
p);
5732 void __attribute__((overloadable)) vstorea_half8_rtp(double8 data,
size_t offset, __private half *
p);
5733 void __attribute__((overloadable)) vstorea_half16_rtp(double16 data,
size_t offset, __private half *
p);
5735 void __attribute__((overloadable)) vstorea_half_rtn(
double data,
size_t offset, __private half *
p);
5736 void __attribute__((overloadable)) vstorea_half2_rtn(double2 data,
size_t offset, __private half *
p);
5737 void __attribute__((overloadable)) vstorea_half3_rtn(double3 data,
size_t offset, __private half *
p);
5738 void __attribute__((overloadable)) vstorea_half4_rtn(double4 data,
size_t offset, __private half *
p);
5739 void __attribute__((overloadable)) vstorea_half8_rtn(double8 data,
size_t offset, __private half *
p);
5740 void __attribute__((overloadable)) vstorea_half16_rtn(double16 data,
size_t offset, __private half *
p);
5776 void __attribute__((overloadable)) barrier(cl_mem_fence_flags flags);
5793 void __attribute__((overloadable)) mem_fence(cl_mem_fence_flags flags);
5805 void __attribute__((overloadable)) read_mem_fence(cl_mem_fence_flags flags);
5817 void __attribute__((overloadable)) write_mem_fence(cl_mem_fence_flags flags);
5825 #define CLK_LOCAL_MEM_FENCE 0x1 5831 #define CLK_GLOBAL_MEM_FENCE 0x2 6246 unsigned int __attribute__((overloadable)) atomic_add(
volatile __global
unsigned int *
p,
unsigned int val);
6248 unsigned int __attribute__((overloadable)) atomic_add(
volatile __local
unsigned int *
p,
unsigned int val);
6251 unsigned int __attribute__((overloadable)) atom_add(__global
unsigned int *
p,
unsigned int val);
6253 unsigned int __attribute__((overloadable)) atom_add(__local
unsigned int *
p,
unsigned int val);
6256 unsigned int __attribute__((overloadable)) atom_add(
volatile __global
unsigned int *
p,
unsigned int val);
6258 unsigned int __attribute__((overloadable)) atom_add(
volatile __local
unsigned int *
p,
unsigned int val);
6273 int __attribute__((overloadable)) atomic_sub(
volatile __global
int *
p,
int val);
6274 unsigned int __attribute__((overloadable)) atomic_sub(
volatile __global
unsigned int *
p,
unsigned int val);
6276 unsigned int __attribute__((overloadable)) atomic_sub(
volatile __local
unsigned int *
p,
unsigned int val);
6279 unsigned int __attribute__((overloadable)) atom_sub(__global
unsigned int *
p,
unsigned int val);
6281 unsigned int __attribute__((overloadable)) atom_sub(__local
unsigned int *
p,
unsigned int val);
6284 unsigned int __attribute__((overloadable)) atom_sub(
volatile __global
unsigned int *
p,
unsigned int val);
6286 unsigned int __attribute__((overloadable)) atom_sub(
volatile __local
unsigned int *
p,
unsigned int val);
6293 int __attribute__((overloadable)) atomic_xchg(
volatile __global
int *
p,
int val);
6294 unsigned int __attribute__((overloadable)) atomic_xchg(
volatile __global
unsigned int *
p,
unsigned int val);
6295 float __attribute__((overloadable)) atomic_xchg(
volatile __global
float *
p,
float val);
6296 int __attribute__((overloadable)) atomic_xchg(
volatile __local
int *
p,
int val);
6297 unsigned int __attribute__((overloadable)) atomic_xchg(
volatile __local
unsigned int *
p,
unsigned int val);
6298 float __attribute__((overloadable)) atomic_xchg(
volatile __local
float *
p,
float val);
6301 unsigned int __attribute__((overloadable)) atom_xchg(__global
unsigned int *
p,
unsigned int val);
6303 unsigned int __attribute__((overloadable)) atom_xchg(__local
unsigned int *
p,
unsigned int val);
6306 unsigned int __attribute__((overloadable)) atom_xchg(
volatile __global
unsigned int *
p,
unsigned int val);
6308 unsigned int __attribute__((overloadable)) atom_xchg(
volatile __local
unsigned int *
p,
unsigned int val);
6316 int __attribute__((overloadable)) atomic_inc(
volatile __global
int *
p);
6317 unsigned int __attribute__((overloadable)) atomic_inc(
volatile __global
unsigned int *
p);
6318 int __attribute__((overloadable)) atomic_inc(
volatile __local
int *
p);
6319 unsigned int __attribute__((overloadable)) atomic_inc(
volatile __local
unsigned int *
p);
6322 unsigned int __attribute__((overloadable)) atom_inc(__global
unsigned int *
p);
6324 unsigned int __attribute__((overloadable)) atom_inc(__local
unsigned int *
p);
6326 int __attribute__((overloadable)) atom_inc(
volatile __global
int *
p);
6327 unsigned int __attribute__((overloadable)) atom_inc(
volatile __global
unsigned int *
p);
6328 int __attribute__((overloadable)) atom_inc(
volatile __local
int *
p);
6329 unsigned int __attribute__((overloadable)) atom_inc(
volatile __local
unsigned int *
p);
6337 int __attribute__((overloadable)) atomic_dec(
volatile __global
int *
p);
6338 unsigned int __attribute__((overloadable)) atomic_dec(
volatile __global
unsigned int *
p);
6339 int __attribute__((overloadable)) atomic_dec(
volatile __local
int *
p);
6340 unsigned int __attribute__((overloadable)) atomic_dec(
volatile __local
unsigned int *
p);
6343 unsigned int __attribute__((overloadable)) atom_dec(__global
unsigned int *
p);
6345 unsigned int __attribute__((overloadable)) atom_dec(__local
unsigned int *
p);
6347 int __attribute__((overloadable)) atom_dec(
volatile __global
int *
p);
6348 unsigned int __attribute__((overloadable)) atom_dec(
volatile __global
unsigned int *
p);
6349 int __attribute__((overloadable)) atom_dec(
volatile __local
int *
p);
6350 unsigned int __attribute__((overloadable)) atom_dec(
volatile __local
unsigned int *
p);
6360 unsigned int __attribute__((overloadable)) atomic_cmpxchg(
volatile __global
unsigned int *
p,
unsigned int cmp,
unsigned int val);
6362 unsigned int __attribute__((overloadable)) atomic_cmpxchg(
volatile __local
unsigned int *
p,
unsigned int cmp,
unsigned int val);
6365 unsigned int __attribute__((overloadable)) atom_cmpxchg(__global
unsigned int *
p,
unsigned int cmp,
unsigned int val);
6367 unsigned int __attribute__((overloadable)) atom_cmpxchg(__local
unsigned int *
p,
unsigned int cmp,
unsigned int val);
6370 unsigned int __attribute__((overloadable)) atom_cmpxchg(
volatile __global
unsigned int *
p,
unsigned int cmp,
unsigned int val);
6372 unsigned int __attribute__((overloadable)) atom_cmpxchg(
volatile __local
unsigned int *
p,
unsigned int cmp,
unsigned int val);
6381 int __attribute__((overloadable)) atomic_min(
volatile __global
int *
p,
int val);
6382 unsigned int __attribute__((overloadable)) atomic_min(
volatile __global
unsigned int *
p,
unsigned int val);
6384 unsigned int __attribute__((overloadable)) atomic_min(
volatile __local
unsigned int *
p,
unsigned int val);
6387 unsigned int __attribute__((overloadable)) atom_min(__global
unsigned int *
p,
unsigned int val);
6389 unsigned int __attribute__((overloadable)) atom_min(__local
unsigned int *
p,
unsigned int val);
6392 unsigned int __attribute__((overloadable)) atom_min(
volatile __global
unsigned int *
p,
unsigned int val);
6394 unsigned int __attribute__((overloadable)) atom_min(
volatile __local
unsigned int *
p,
unsigned int val);
6403 int __attribute__((overloadable)) atomic_max(
volatile __global
int *
p,
int val);
6404 unsigned int __attribute__((overloadable)) atomic_max(
volatile __global
unsigned int *
p,
unsigned int val);
6406 unsigned int __attribute__((overloadable)) atomic_max(
volatile __local
unsigned int *
p,
unsigned int val);
6409 unsigned int __attribute__((overloadable)) atom_max(__global
unsigned int *
p,
unsigned int val);
6411 unsigned int __attribute__((overloadable)) atom_max(__local
unsigned int *
p,
unsigned int val);
6414 unsigned int __attribute__((overloadable)) atom_max(
volatile __global
unsigned int *
p,
unsigned int val);
6416 unsigned int __attribute__((overloadable)) atom_max(
volatile __local
unsigned int *
p,
unsigned int val);
6424 int __attribute__((overloadable)) atomic_and(
volatile __global
int *
p,
int val);
6425 unsigned int __attribute__((overloadable)) atomic_and(
volatile __global
unsigned int *
p,
unsigned int val);
6427 unsigned int __attribute__((overloadable)) atomic_and(
volatile __local
unsigned int *
p,
unsigned int val);
6430 unsigned int __attribute__((overloadable)) atom_and(__global
unsigned int *
p,
unsigned int val);
6432 unsigned int __attribute__((overloadable)) atom_and(__local
unsigned int *
p,
unsigned int val);
6435 unsigned int __attribute__((overloadable)) atom_and(
volatile __global
unsigned int *
p,
unsigned int val);
6437 unsigned int __attribute__((overloadable)) atom_and(
volatile __local
unsigned int *
p,
unsigned int val);
6446 unsigned int __attribute__((overloadable)) atomic_or(
volatile __global
unsigned int *
p,
unsigned int val);
6448 unsigned int __attribute__((overloadable)) atomic_or(
volatile __local
unsigned int *
p,
unsigned int val);
6451 unsigned int __attribute__((overloadable)) atom_or(__global
unsigned int *
p,
unsigned int val);
6453 unsigned int __attribute__((overloadable)) atom_or(__local
unsigned int *
p,
unsigned int val);
6456 unsigned int __attribute__((overloadable)) atom_or(
volatile __global
unsigned int *
p,
unsigned int val);
6458 unsigned int __attribute__((overloadable)) atom_or(
volatile __local
unsigned int *
p,
unsigned int val);
6466 int __attribute__((overloadable)) atomic_xor(
volatile __global
int *
p,
int val);
6467 unsigned int __attribute__((overloadable)) atomic_xor(
volatile __global
unsigned int *
p,
unsigned int val);
6469 unsigned int __attribute__((overloadable)) atomic_xor(
volatile __local
unsigned int *
p,
unsigned int val);
6472 unsigned int __attribute__((overloadable)) atom_xor(__global
unsigned int *
p,
unsigned int val);
6474 unsigned int __attribute__((overloadable)) atom_xor(__local
unsigned int *
p,
unsigned int val);
6477 unsigned int __attribute__((overloadable)) atom_xor(
volatile __global
unsigned int *
p,
unsigned int val);
6479 unsigned int __attribute__((overloadable)) atom_xor(
volatile __local
unsigned int *
p,
unsigned int val);
6483 #define __kernel_exec(X, typen) __kernel \ 6484 __attribute__((work_group_size_hint(X, 1, 1))) \ 6485 __attribute__((vec_type_hint(typen))) 6487 #define kernel_exec(X, typen) __kernel \ 6488 __attribute__((work_group_size_hint(X, 1, 1))) \ 6489 __attribute__((vec_type_hint(typen))) 7009 #define CLK_ADDRESS_NONE 0 7010 #define CLK_ADDRESS_CLAMP_TO_EDGE 2 7011 #define CLK_ADDRESS_CLAMP 4 7012 #define CLK_ADDRESS_REPEAT 6 7013 #define CLK_ADDRESS_MIRRORED_REPEAT 8 7018 #define CLK_NORMALIZED_COORDS_FALSE 0 7019 #define CLK_NORMALIZED_COORDS_TRUE 1 7024 #define CLK_FILTER_NEAREST 0x10 7025 #define CLK_FILTER_LINEAR 0x20 7256 void __attribute__((overloadable)) write_imagef (__write_only image2d_array_t image, int4
coord, float4
color);
7258 void __attribute__((overloadable)) write_imageui (__write_only image2d_array_t image, int4
coord, uint4
color);
7262 void __attribute__((overloadable)) write_imagef (__write_only image1d_buffer_t image,
int coord, float4
color);
7264 void __attribute__((overloadable)) write_imageui (__write_only image1d_buffer_t image,
int coord, uint4
color);
7265 void __attribute__((overloadable)) write_imagef (__write_only image1d_array_t image, int2
coord, float4
color);
7267 void __attribute__((overloadable)) write_imageui (__write_only image1d_array_t image, int2
coord, uint4
color);
7355 #define CLK_R 0x10B0 7356 #define CLK_A 0x10B1 7357 #define CLK_RG 0x10B2 7358 #define CLK_RA 0x10B3 7359 #define CLK_RGB 0x10B4 7360 #define CLK_RGBA 0x10B5 7361 #define CLK_BGRA 0x10B6 7362 #define CLK_ARGB 0x10B7 7363 #define CLK_INTENSITY 0x10B8 7364 #define CLK_LUMINANCE 0x10B9 7365 #define CLK_Rx 0x10BA 7366 #define CLK_RGx 0x10BB 7367 #define CLK_RGBx 0x10BC 7368 #define CLK_DEPTH 0x10BD 7369 #define CLK_DEPTH_STENCIL 0x10BE 7374 #define CLK_SNORM_INT8 0x10D0 7375 #define CLK_SNORM_INT16 0x10D1 7376 #define CLK_UNORM_INT8 0x10D2 7377 #define CLK_UNORM_INT16 0x10D3 7378 #define CLK_UNORM_SHORT_565 0x10D4 7379 #define CLK_UNORM_SHORT_555 0x10D5 7380 #define CLK_UNORM_INT_101010 0x10D6 7381 #define CLK_SIGNED_INT8 0x10D7 7382 #define CLK_SIGNED_INT16 0x10D8 7383 #define CLK_SIGNED_INT32 0x10D9 7384 #define CLK_UNSIGNED_INT8 0x10DA 7385 #define CLK_UNSIGNED_INT16 0x10DB 7386 #define CLK_UNSIGNED_INT32 0x10DC 7387 #define CLK_HALF_FLOAT 0x10DD 7388 #define CLK_FLOAT 0x10DE 7389 #define CLK_UNORM_INT24 0x10DF 7480 void __attribute__((overloadable)) write_imagef(__write_only image2d_array_t image_array, int4
coord, float4
color);
7485 void __attribute__((overloadable)) write_imagei(__write_only image2d_array_t image_array, int4
coord, int4
color);
7490 void __attribute__((overloadable)) write_imageui(__write_only image2d_array_t image_array, int4
coord, uint4
color);
7497 #define as_char(x) __builtin_astype((x), char) 7498 #define as_char2(x) __builtin_astype((x), char2) 7499 #define as_char3(x) __builtin_astype((x), char3) 7500 #define as_char4(x) __builtin_astype((x), char4) 7501 #define as_char8(x) __builtin_astype((x), char8) 7502 #define as_char16(x) __builtin_astype((x), char16) 7504 #define as_uchar(x) __builtin_astype((x), uchar) 7505 #define as_uchar2(x) __builtin_astype((x), uchar2) 7506 #define as_uchar3(x) __builtin_astype((x), uchar3) 7507 #define as_uchar4(x) __builtin_astype((x), uchar4) 7508 #define as_uchar8(x) __builtin_astype((x), uchar8) 7509 #define as_uchar16(x) __builtin_astype((x), uchar16) 7511 #define as_short(x) __builtin_astype((x), short) 7512 #define as_short2(x) __builtin_astype((x), short2) 7513 #define as_short3(x) __builtin_astype((x), short3) 7514 #define as_short4(x) __builtin_astype((x), short4) 7515 #define as_short8(x) __builtin_astype((x), short8) 7516 #define as_short16(x) __builtin_astype((x), short16) 7518 #define as_ushort(x) __builtin_astype((x), ushort) 7519 #define as_ushort2(x) __builtin_astype((x), ushort2) 7520 #define as_ushort3(x) __builtin_astype((x), ushort3) 7521 #define as_ushort4(x) __builtin_astype((x), ushort4) 7522 #define as_ushort8(x) __builtin_astype((x), ushort8) 7523 #define as_ushort16(x) __builtin_astype((x), ushort16) 7525 #define as_int(x) __builtin_astype((x), int) 7526 #define as_int2(x) __builtin_astype((x), int2) 7527 #define as_int3(x) __builtin_astype((x), int3) 7528 #define as_int4(x) __builtin_astype((x), int4) 7529 #define as_int8(x) __builtin_astype((x), int8) 7530 #define as_int16(x) __builtin_astype((x), int16) 7532 #define as_uint(x) __builtin_astype((x), uint) 7533 #define as_uint2(x) __builtin_astype((x), uint2) 7534 #define as_uint3(x) __builtin_astype((x), uint3) 7535 #define as_uint4(x) __builtin_astype((x), uint4) 7536 #define as_uint8(x) __builtin_astype((x), uint8) 7537 #define as_uint16(x) __builtin_astype((x), uint16) 7539 #define as_long(x) __builtin_astype((x), long) 7540 #define as_long2(x) __builtin_astype((x), long2) 7541 #define as_long3(x) __builtin_astype((x), long3) 7542 #define as_long4(x) __builtin_astype((x), long4) 7543 #define as_long8(x) __builtin_astype((x), long8) 7544 #define as_long16(x) __builtin_astype((x), long16) 7546 #define as_ulong(x) __builtin_astype((x), ulong) 7547 #define as_ulong2(x) __builtin_astype((x), ulong2) 7548 #define as_ulong3(x) __builtin_astype((x), ulong3) 7549 #define as_ulong4(x) __builtin_astype((x), ulong4) 7550 #define as_ulong8(x) __builtin_astype((x), ulong8) 7551 #define as_ulong16(x) __builtin_astype((x), ulong16) 7553 #define as_half(x) __builtin_astype((x), half) 7554 #define as_half2(x) __builtin_astype((x), half2) 7555 #define as_half3(x) __builtin_astype((x), half3) 7556 #define as_half4(x) __builtin_astype((x), half4) 7557 #define as_half8(x) __builtin_astype((x), half8) 7558 #define as_half16(x) __builtin_astype((x), half16) 7560 #define as_float(x) __builtin_astype((x), float) 7561 #define as_float2(x) __builtin_astype((x), float2) 7562 #define as_float3(x) __builtin_astype((x), float3) 7563 #define as_float4(x) __builtin_astype((x), float4) 7564 #define as_float8(x) __builtin_astype((x), float8) 7565 #define as_float16(x) __builtin_astype((x), float16) 7567 #define as_double(x) __builtin_astype((x), double) 7568 #define as_double2(x) __builtin_astype((x), double2) 7569 #define as_double3(x) __builtin_astype((x), double3) 7570 #define as_double4(x) __builtin_astype((x), double4) 7571 #define as_double8(x) __builtin_astype((x), double8) 7572 #define as_double16(x) __builtin_astype((x), double16) float const_func float edge1
char const_func char char maxval
event_t const __global char * src
char2 const_func uchar2 mask
ptrdiff_t intptr_t
The unsigned integer type of the result of the sizeof operator.
event_t const __local char size_t size_t dst_stride
event_t const __global char size_t num_elements
float __global float * cosval
float __global float * iptr
unsigned char uchar
An unsigned 8-bit integer.
unsigned short ushort
An unsigned 16-bit integer.
void event_t * event_list
float4 sampler_t int2 coord
float4 const_func float4 p1
float const_func float float c
float const_func float float a
short const_func uchar lo
unsigned long ulong
An unsigned 64-bit integer.
char2 const __global char * p
char const_func char minval
uint cl_mem_fence_flags
All work-items in a work-group executing the kernel on a processor must execute this function before ...
char char2 __attribute__((ext_vector_type(2)))
Returns the number of global work-items specified for dimension identified by dimindx.
float __global int * signp
event_t const __global char size_t size_t src_stride
unsigned int uint
An unsigned 32-bit integer.
float float __global int * quo
event_t const __global char size_t event_t event
#define const_func
Added according to pocl/examples/example1-spir64/generate_spir.sh.
int printf(__constant const char *st,...)